#!/usr/bin/env python 
# -*- coding: utf-8 -*- 
# @Time : 2018-04-16 11:04 
# @Author : Woolei
# @File : ProjectConfig.py

TF_ONLINE_HOME_URL = 'https://www.tandfonline.com/'
TF_HOME_URL = 'https://www.taylorfrancis.com/'
GET_ISBN_API_URL = 'https://api.taylorandfrancis.com/v1/search/title'

COMMENT_HEADERS = {
    'content-type': 'application/json',
    'origin': 'https://www.taylorfrancis.com',
    'user-agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36'
}

DB_CONFIG = {
    'host': '192.168.0.90',
    'user': 'root',
    'passwd': 'vipdatacenter',
    'db': 'TandfBook',
    'port': 3306
}
